package com.hr.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hr.common.annotation.Excel;
import com.hr.common.core.domain.BaseEntity;

/**
 * 员工工资扣除项对象 sys_deduction
 * 
 * @author ruoyi
 * @date 2021-04-29
 */
public class SysDeduction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号id */
    private Long id;

    /** 个人所得税扣除 */
    @Excel(name = "个人所得税扣除")
    private BigDecimal personalTax;

    /** 五险一金扣除 */
    @Excel(name = "五险一金扣除")
    private BigDecimal fiveOne;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private Long userId;

    /** 租户编号 */
    @Excel(name = "租户编号")
    private Long tenantId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPersonalTax(BigDecimal personalTax) 
    {
        this.personalTax = personalTax;
    }

    public BigDecimal getPersonalTax() 
    {
        return personalTax;
    }
    public void setFiveOne(BigDecimal fiveOne) 
    {
        this.fiveOne = fiveOne;
    }

    public BigDecimal getFiveOne() 
    {
        return fiveOne;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTenantId(Long tenantId) 
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("personalTax", getPersonalTax())
            .append("fiveOne", getFiveOne())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .append("tenantId", getTenantId())
            .toString();
    }
}
